package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

/**
 * @author ：zfr
 * @date ：2021/3/25 10:41
 */
@FieldTypeAnnotation(tableName = "t_l_ck_dfw_activity_rebate_reward", desc = "大富翁商会返利领奖记录", autoSave = true, uploadCk = true)
public class LogDFWRebateReward extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动id", isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "商会id")
    private String unionUid;
    @FieldTypeAnnotation(desc = "领取次数")
    private int times;
    @FieldTypeAnnotation(desc = "领取时间")
    private Date getRewardTime;

    public LogDFWRebateReward(int activityId, long userId, String unionUid, int times, Date getRewardTime) {
        this.activityId = activityId;
        this.userId = userId;
        this.unionUid = unionUid;
        this.times = times;
        this.getRewardTime = getRewardTime;
    }


    public long getUserId() {
        return userId;
    }
}
